package com.ftwj.utils.result;


import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;


public class GeneratePrimarykeyUtil {


	public static synchronized String getPrimaryKey() {
		String uuid = UUID.randomUUID().toString().trim().replaceAll("-", "").toUpperCase();
		return uuid;
	}


	public static void main(String[] args) {
		String id = getPrimaryKey();

		for (int i = 0; i <379 ; i++) {
			String uuid = UUID.randomUUID().toString().trim().replaceAll("-", "").toUpperCase();
			System.out.println(uuid);
		}
		
		
	}





}
